using UnityEngine;
[CreateAssetMenu(menuName = "Rendering/Custom SSSS Scatter Settings")]
public class SSSSScatterSettings : ScriptableObject
{
    [SerializeField]
    public Shader ScatterShader = default;
    //[SerializeField]
    //public Shader maskShader = default;
    //[SerializeField]
    //public Shader copyDepthShader = default;

    //   shader = Shader.Find("CY/SSSSS/SSSSSShader");
    //   maskShader = Shader.Find("CY/SSSSS/SSSSSMask");
    //copyDepthShader = Shader.Find("CY/SSSSS/BlitDepthTextureToDepth");

    [Range(1, 3)]
    [SerializeField]
    public int downscale = 1;
    [Range(1, 3)]
    [SerializeField]
    public int blurIterations = 1;
    [Range(0.01f, 1.6f)]
    [SerializeField]
    public float scatterDistance = 0.4f;
    [Range(0f, 2f)]
    [SerializeField]
    public float scatterIntensity = 1f;
    [Range(0.001f, 0.3f)]
    [SerializeField]
    public float softDepthBias = 0.05f;
    [Range(0f, 1f)]
    [SerializeField]
    public float affectDirect = 0.5f;
    [SerializeField]
    public Color scatteringColor;

}
